package com.example.user.myhjjf_app.model;

import java.util.List;

/**
 * Created by User on 2017/8/28.
 */

public class Model_pt {

    /**
     * success : true
     * value : [{"size":0,"type":"station"},{"size":0,"type":"yjf"},{"size":0,"type":"jzsd"},{"size":0,"type":"jlpdx"},{"size":0,"type":"kgdy"},{"size":0,"type":"flx"},{"size":0,"type":"yj"},{"size":0,"type":"xdc"},{"size":0,"type":"kt"},{"size":0,"type":"zntf"},{"size":0,"type":"dhjk"}]
     * exception : null
     */

    private boolean success;
    private Object exception;
    private List<ValueBean> value;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getException() {
        return exception;
    }

    public void setException(Object exception) {
        this.exception = exception;
    }

    public List<ValueBean> getValue() {
        return value;
    }

    public void setValue(List<ValueBean> value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Model_pt{" +
                "success=" + success +
                ", exception=" + exception +
                ", value=" + value +
                '}';
    }

    public static class ValueBean {
        /**
         * size : 0
         * type : station
         */

        private int size;
        private String type;

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        @Override
        public String toString() {
            return "ValueBean{" +
                    "size=" + size +
                    ", type='" + type + '\'' +
                    '}';
        }
    }
}
